#pragma once
#include "afxwin.h"
#include "GPScomm.h"


// IPConfigDialog dialog

class IPConfigDialog : public CDialog
{
	DECLARE_DYNAMIC(IPConfigDialog)

public:
	IPConfigDialog(CWnd* pParent = NULL);   // standard constructor
	virtual ~IPConfigDialog();

// Dialog Data
	enum { IDD = ID_IP_CONFIG_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CEdit IPAddressBox;
	CEdit portBox;
	afx_msg void OnBnClickedButton1();
	void OnOK();
	afx_msg void OnBnClickedButton2();
	void setCommsObject(GPScomm *c);

private:
	GPScomm *gps;
};
